<?php

namespace app\validate\api\recovery;

use think\Validate;

class reportValidate extends Validate
{

    protected $rule = [
        //'title'         => 'require',
        'cate'          => 'require',
        'img'           => 'require',
       // 'reason'        => 'require',
       // 'type'          => 'require',
    ];



    protected $message = [
        'title.require'   => 'title标题必填',
        'cate.require'    => 'cate举报类型id必填',
        'img.require'     => 'img上传图片必填',
      //  'reason.require'  => 'reason原因描述必填',
       // 'type.require'    => 'type必填',
    ];

}